import string
import random

source = string.digits

# random.seed(1)
captcha1 = ''
for i in range(8):
    captcha1 += random.choice(source)
print(captcha1)

# random.seed(1)
captcha2 = ''.join(random.choices(source, k=8))
print(captcha2)

# random.seed(1)
captcha3 = ''.join(random.sample(source, k=8))
print(captcha3)
